import { DailyComponent } from './daily/daily.component';
import { MonthComponent } from './month/month.component';
import { WeeklyComponent } from './weekly/weekly.component';
import { TodayComponent } from './today/today.component';
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';



const routes: Routes = [
  { path: '', pathMatch: 'full', redirectTo: 'today' },
  { path: 'today', component: TodayComponent },
  { path: 'weekly', component: WeeklyComponent },
  { path: 'month', component: MonthComponent },
  { path: 'daily', component: DailyComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class OverviewRoutingModule { }
